SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2f400c121836df71a45366d0c79f1bd2fbb45abea6042ff19c8b8fe498ff7340' 
  AND token = 'a0jHmr2++UTnZZfrdQIjdUYgGI+lfyFl14Q9uDKOtQc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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