SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '642499c41b50543b55d098f24963dcf29aaf15b66b49229968c198be8605c5ba' 
  AND token = 'Ri6qqMRrMSOjwPPkslip1Yjd6jV8faRUZ4nc3IBwYdA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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