SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'df5b0aaab6480aa29d0cafe95af1923342854633e21ca88fcd367a97adbb7761' 
  AND token = 'x9PibNWs+QAeaOVL6k55/2NRj8bvnw9TH1bn8p/POqY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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