SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cfed155a5d31dda8e908c848694f8270b297fd796a8b7cb79e3cc9e5577f5a7b' 
  AND token = '0sXPHTgFA4RxaZZKu3UkuEeWXZbFU0ndzyBAI4ZZpvM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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