SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '167a98817a677c567098d60006b3340b4a8f6a47593010f91eb5b71b35f29a54' 
  AND token = 'KS5/Qsqs5sn0XqZqYz0L3bIv18hBh1rEvI1UsOaG5P8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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