SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dd413112e0c26c97d7f85d8c6f87aeafe19009fcbfd2f13a0fe2d30e4e34e832' 
  AND token = 'CRUM8ywV8Ohoxwe/kip8uNlantUilaDyP7fXIP2xhUg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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