SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c1974089c9658545bed96a45fc2743a80bfdf2e4caeed30ed4245a87d93783ff' 
  AND token = 'edd/YucUenWr5dBQZCCzljLOY0fP/lHhrrzXA2XUBaY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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