SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e90877ea9a607f8a7ca0039e1b8bea90119bd0cd3389dbebd6f29ed374579ffa' 
  AND token = 'esuPFaQLDp3zaIs54bPkOgjhLcY3m52Yqjg5YuqX59o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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