SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8e02bdde4b0c5ecec3376de704e9df5bf00b92f07b67424b2b71b01aa5340ec1' 
  AND token = 'Qrt1rdN+GJdRpv+LRvhK1XwiSVpT2ZYoI2O6uGv3fmw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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