SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '834a3aff6fc870214e09d3851427b0c4c2d56e9b3904143979bda0b483186aca' 
  AND token = 'W5RFEKLJuG93rHAXyyT4Qq6I+F1XQByiCamoI334EB4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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