SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '04ca6b303623c89a60c8238d39635b832b5a101ef6b9e3c5c6f404e1f1787c2e' 
  AND token = 'DhpWW9YTjkap9zqYbvfhSSFp/bpeWB9Y6vHK4G4pfv8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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