SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '31e1eed9211e73092a8502c808af816ed151292e9945a0bae762b4c6a6493946' 
  AND token = 'cNF9FgfsR6U0yJYFKS5+a8fgGDB/FcVixMb1hnR+17k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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