SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '340f8b31d2c193db1a2b4aadf9c0e40f0e38c49394d5b194f20eaef1de0aef6e' 
  AND token = 'TROvkew7gXrvOvBCpJOO9+VwMAZiuKVnl59q2PpQuKM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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