SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd6d972efdae2718ec25058e146f11984080bf35784c6d1fc02fc096e208c910a' 
  AND token = 'q6EEtucf28V7qOgmD3F8V9XInqc8PrW0BNO5BMsHCh0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}