SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b5979ca44eaaca3a9a36de4eee2603fd15b846fc492a0eaa07d16c2ef62ec1e8' 
  AND token = 'elLmu7K0dlBc7xBHLNTs7OExh0n8+Icifj47wrcsr0c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

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