SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '998bd7c9fb9b83569f98c6c80b5ded8dc3980275d123d6b1a525d945ccc21126' 
  AND token = 'rHUrJ5AAjjDWiLnoLHqQy6AaOMnYUC4eMNCgtuhtxDY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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