SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e97a2bd6f8c8b4aa025adb2fa4b0639251382913287ad59c74698dc967167714' 
  AND token = 'mJWowjPWS0tvFZVB1cdi69Hplfv0qaXh5U7IgJuD2zw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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