SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3ddf241d2b5b277f2a175a6616161732977e79d1404608b9db472d56cc3a6352' 
  AND token = 'erlCsssU0CUU6mivcFg8aB66TY9TD5dZUOF8PtKUVk0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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