SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'af1779404e427307e148e83ca5b249d24b732cea555ec9539b099b83fc35f04c' 
  AND token = 'Pz0m0sWHdR0vqmi5xH3ZwXElsCIgpZbE3px1f/9XqjM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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