SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '308ecccfecb51e6f4d5232e5051e69eac6f5f41eaea9f60f2ab138ad088e8cd1' 
  AND token = 'jWlMy1CH9A4EWFOXVHKgL2LgEyXHuE4Qo1sbnTPpS8M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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