SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b18b1a656d2a46d9f6469a961c14e30cc32e60c58422cb8cc05873a59c38170c' 
  AND token = 'n332rb/FGVKcKnEQjz0Tj25yFkhqV0rEs9uUVv2j16w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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