SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8f52527a27433eeebcb8684997e8d223078bf176682de50a2bdc64f01b6c3f6b' 
  AND token = 'Nil9Z6c831cQrC2PxtzUo882am98ugNHgHRMC1/7q+I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}