SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '427b2085383cdd45bbc879d878ac7ef1500d4af3c694af7b974debcc3bf16317' 
  AND token = 'Jp24I5dXRyXEAfuN3tyAXrw/knRI6Fl5QW+R68hQD2c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00052

JSON explain

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