SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a74832719238aeacced7fdc50f1f21484fef04ff0e509b2193d2b565de5512fb' 
  AND token = 'blFf08RaMyU2teLQ5Lh6tKeP+ejscJKZX9G4BtHKhuQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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