SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '978a29458e70f559b5f4a8f30ad656b192e1773b510e30404d488a2dcd54f081' 
  AND token = 'lgNX8Huaav9DKNzfzRr8ihIQiCl4IJ8RN4E8FRZhizI=' 
  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"
    }
  }
}