SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '78bd9fa78b9ae26c73e2703cc42e4f28bce2aaaec2ebf46df5034ecf81ad4979' 
  AND token = 'KRfyPk5JuFC6a7tr4UtO2ggNA0F6zyM9dd14M2fMQG4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00022

JSON explain

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