SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a7a47f8c743ceec4b2ea164f74c78fdf2e50ee2bf27a5e03017df8051de310fc' 
  AND token = 'qrqhtv1+qQJGNZQGRYz3BMEBax+EdJtY4n7l3f6xi18=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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